package his.service;

import his.entity.Disease;
import org.example.his.common.api.CommonResponse;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DieaseService {


    public CommonResponse<List<Disease>> getall_diease_bycodename(String keywords);
    public CommonResponse<List<Disease>> delete_diease(int id);
    public CommonResponse<List<Disease>> update_diease( int id,  String diseasecode,  String diseasename,  String diseaseICD,  int disecategoryID);
    public CommonResponse<List<Disease>> add_diease( String diseasecode,  String diseasename,  String diseaseICD,  int disecategoryID);
    public CommonResponse<List<Disease>> getall_diease();
}
